package com.example.supernote.data.network.config

import kotlinx.serialization.Serializable
import java.util.UUID


class TextPrompt(
    val prompt: String,
    val model: String = "vivo-BlueLM-TB",
    val sessionId: String = UUID.randomUUID().toString(),
    val systemPrompt: String,
) {
    fun getMap(): Map<String, String> {
        return mapOf(
            "prompt" to prompt,
            "model" to model,
            "sessionId" to sessionId,
            "systemPrompt" to systemPrompt
        )
    }
}

@Serializable
data class TextData(
    val sessionId: String = "",
    val requestId: String = "",
    val content: String = "",
    val provider: String = "",
    val model: String = ""
)

@Serializable
data class TextGeneration(
    val code: Int,
    val data: TextData,
    val msg: String
)